<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
     function Women(){
     }
     const person={
         eyes:2,
         head:1
     }
    //  console.log(Women.prototype);
    Women.prototype=person
    Women.prototype.constructor=Women
    console.log(Women.prototype)
    const red=new Women()
    console.log(red.eyes)
    console.log(red.head)
  </script>
</body>
</html>